package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 项目进度对象 progress_project
 *
 * @author ruoyi
 * @date 2021-08-30
 */
public class ProgressProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 项目进度编号 */
    @Excel(name = "项目进度编号")
    private String progressNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目计划 */
    @Excel(name = "项目计划")
    private String projectPlan;

    /** 起始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginDate;

    /** 截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 消耗工时 */
    @Excel(name = "消耗工时")
    private Long conHours;

    /** 消耗费用 */
    @Excel(name = "消耗费用")
    private Long conAc;

    /** 负责人 */
    @Excel(name = "负责人")
    private String follower;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setProgressNo(String progressNo)
    {
        this.progressNo = progressNo;
    }

    public String getProgressNo()
    {
        return progressNo;
    }
    public void setProjectName(String projectName)
    {
        this.projectName = projectName;
    }

    public String getProjectName()
    {
        return projectName;
    }
    public void setProjectPlan(String projectPlan)
    {
        this.projectPlan = projectPlan;
    }

    public String getProjectPlan()
    {
        return projectPlan;
    }
    public void setBeginDate(Date beginDate)
    {
        this.beginDate = beginDate;
    }

    public Date getBeginDate()
    {
        return beginDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setConHours(Long conHours)
    {
        this.conHours = conHours;
    }

    public Long getConHours()
    {
        return conHours;
    }
    public void setConAc(Long conAc)
    {
        this.conAc = conAc;
    }

    public Long getConAc()
    {
        return conAc;
    }
    public void setFollower(String follower)
    {
        this.follower = follower;
    }

    public String getFollower()
    {
        return follower;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("progressNo", getProgressNo())
                .append("projectName", getProjectName())
                .append("projectPlan", getProjectPlan())
                .append("beginDate", getBeginDate())
                .append("endDate", getEndDate())
                .append("conHours", getConHours())
                .append("conAc", getConAc())
                .append("follower", getFollower())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}